﻿import QtQuick 2.0
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
import ConfigElementType 1.0
import "qrc:/qmlComponents/ConfigManager"
import "qrc:/qmlComponents/AxisModulePos"
import "qrc:/qmlComponents/VisionViewer"
import "qrc:/qmlComponents/CustomizedUIElement"

ColumnLayout{
    spacing: 10

    MyTabView{
        indent: 2

        Component{
            id: aaOperate

            AAOperateView{}
        }

        Component{
            id: dispensePath
            DispensePath{}
        }

        Component{
            id: upAndDownLookPrView

            UpLookAndDownLookPrView{}
        }

        Component{
            id:sensorLenPr
            LensSensorPr{}
        }

        Component{
            id: calPosView
            CalGripperPosView{}
        }

        Component{
            id:shotterCalib

            ShotterCalibView{}
        }

        Component.onCompleted: {
            addTab("AAOperate", aaOperate)
            addTab("UpAndDownLookCalib", upAndDownLookPrView)
            addTab("SensorAndLensPr", sensorLenPr)
            addTab("DispenCalibrate", shotterCalib)
            addTab("DispensePath", dispensePath)
            addTab("CalculateGriperPos", calPosView)
        }
    }
}
